

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class CourseStatus
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _CourseStatusEN ="";
public System.String CourseStatusEN
{
get { return _CourseStatusEN;}
set { _CourseStatusEN = value;}
}
System.String _CourseStatusAR ="";
public System.String CourseStatusAR
{
get { return _CourseStatusAR;}
set { _CourseStatusAR = value;}
}
public CourseStatus()
{
}
public CourseStatus(System.String __CourseStatusEN,System.String __CourseStatusAR)
{
_CourseStatusEN = __CourseStatusEN;
_CourseStatusAR = __CourseStatusAR;
}
public CourseStatus(System.Int64 __ID,System.String __CourseStatusEN,System.String __CourseStatusAR)
{
_ID = __ID;
_CourseStatusEN = __CourseStatusEN;
_CourseStatusAR = __CourseStatusAR;
}


             public override bool Equals(object obj)
         {
             if (obj is CourseStatus)
             {
                 CourseStatus newObj = (CourseStatus)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
